//
//  CustomAlert.h
//  CustomAlert
//
//  Created by Elean on 16/5/25.
//  Copyright © 2016年 Elean. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface CustomAlert : NSObject

+ (void)showAlertWithController:(UIViewController *)ctr andTitle:(NSString *)title andMessage:(NSString *)message andTime:(NSTimeInterval)time;

+ (void)showAlertWithController:(UIViewController *)ctr andTitle:(NSString *)title andMessage:(NSString *)message andTime:(NSTimeInterval)time andBlock:(void(^)(void))blcok;

//block提示结束后触发的事件

@end








